package com.ruoyi.yl.medicalOrderSettings.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.yl.medicalOrderSettings.domain.YlMedicalOrderFrequency;
import com.ruoyi.yl.medicalOrderSettings.vo.YlMedicalOrderFrequencyVo;

import java.util.List;

/**
 * 医嘱次数Service接口
 *
 * @author Ming
 * @date 2025-10-21
 */
public interface IYlMedicalOrderFrequencyService extends IService<YlMedicalOrderFrequency> {

    /**
     * 分页查询
     *
     * @param entity
     * @return
     */
    TableDataInfo<YlMedicalOrderFrequencyVo> queryList(YlMedicalOrderFrequencyVo entity);

    /**
     * 查询全部
     *
     * @param entity
     * @return
     */
    List<YlMedicalOrderFrequencyVo> queryAll(YlMedicalOrderFrequencyVo entity);

    /**
     * 根据ID查询
     *
     * @param id
     * @return
     */
    YlMedicalOrderFrequencyVo queryById(Long id);
}
